package com.shiyingzi.product.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.shiyingzi.basics.model.BasicsEntity;

//@Entity
//@Table(name = "app_a_basic_information")
@TableName(value="app_a_basic_information")
public class AppABasicInformation extends BasicsEntity{

	/**
	 * 申请人基本信息
	 */
	private static final long serialVersionUID = -6869848001535551622L;

//	@Column(name = "product_type", columnDefinition = "varchar(32) comment '产品类型'")
	@TableField(value="product_type")
	private String productType;
	
//	@Column(name = "name", columnDefinition = "varchar(32) comment '姓名'")
	@TableField(value="name")
	private String name;
	
//	@Column(name = "whether_or_not", columnDefinition = "varchar(32) comment '是否需要共借人'")
	@TableField(value="whether_or_not")
	private String whetherOrNot;
	
//	@Column(name = "app_time", columnDefinition = "datetime comment '申请时间'")
	@DateTimeFormat(pattern="yyy-MM-dd")
	@TableField(value="app_time")
	private Date appTime;
	
//	@Column(name = "app_number", columnDefinition = "varchar(32) comment '申请编号'")
	@TableField(value="app_number")
	private String appNumber;
	
//	@Column(name = "app_amount", columnDefinition = "decimal(15,2) comment '申请金额'")
	@TableField(value="app_amount")
	private String appAmount;
	
	/**
	 * 1:12期，2:24期，3:36期
	 */
//	@Column(name = "loan_term", columnDefinition = "varchar(32) comment '贷款期限'")
	@TableField(value="loan_term")
	private String loanTerm;
	/**
	 * 1:是，2：否
	 */
//	@Column(name = "phone_transfer", columnDefinition = "varchar(32) comment '手机号是否转网'")
	@TableField(value="phone_transfer")
	private String phoneTransfer;
	
	/**
	 * 1:是，2：否
	 */
//	@Column(name = "than_six_months", columnDefinition = "varchar(32) comment '超过6个月'")
	@TableField(value="than_six_months")
	private String thanSixMonths;
	
//	@Column(name = "real_name", columnDefinition = "varchar(32) comment '本人实名'")
	@TableField(value="real_name")
	private String realName;
	
//	@Column(name = "sex", columnDefinition = "varchar(32) comment '本人性别'")
	@TableField(value="sex")
	private String sex;
	
//	@Column(name = "place_registration", columnDefinition = "varchar(500) comment '户籍所在地'")
	@TableField(value="place_registration")
	private String placeRegistration;
	
//	@Column(name = "marital_status", columnDefinition = "varchar(32) comment '婚姻状况'")
	@TableField(value="marital_status")
	private String maritalStatus;
	
//	@Column(name = "highest_education", columnDefinition = "varchar(32) comment '最高学历'")
	@TableField(value="highest_education")
	private String highestEducation;
	
//	@Column(name = "telephone", columnDefinition = "varchar(32) comment '电话'")
	@TableField(value="telephone")
	private String telephone;
	
//	@Column(name = "qq_number", columnDefinition = "varchar(32) comment 'qq'")
	@TableField(value="qq_number")
	private String qqNumber;
	
//	@Column(name = "wechat", columnDefinition = "varchar(32) comment '微信'")
	@TableField(value="wechat")
	private String wechat;

//	@Column(name = "property_situation", columnDefinition = "varchar(32) comment '房产情况'")
	@TableField(value="property_situation")
	private String propertySituation;
	
//	@Column(name = "vehicle_conditions", columnDefinition = "varchar(32) comment '车辆情况'")
	@TableField(value="vehicle_conditions")
	private String vehicleConditions;
	
//	@Column(name = "live_together", columnDefinition = "varchar(32) comment '父母同住'")
	@TableField(value="live_together")
	private String liveTogether;
	
//	@Column(name = "present_address", columnDefinition = "varchar(32) comment '现住址 '")
	@TableField(value="present_address")
	private String presentAddress;
	
//	@Column(name = "inhabitation_time", columnDefinition = "varchar(32) comment '城市年限'")
	@TableField(value="inhabitation_time")
	private String inhabitationTime;
	
//	@Column(name = "years_in_city", columnDefinition = "varchar(32) comment '来本城市年限'")
	@TableField(value="years_in_city")
	private String yearsInCity;
	
//	@Column(name = "app_account", columnDefinition = "varchar(32) comment '申请人账户'")
	@TableField(value="app_account")
	private String appAccount;
	
//	@Column(name = "borrower_signature", columnDefinition = "varchar(32) comment '共借人签名'")
	@TableField(value="borrower_signature")
	private String borrowerSignature;
	
//	@Column(name = "progressive_state", columnDefinition = "varchar(32) comment '进件状态'")
	@TableField(value="progressive_state")
	private String progressiveState;
	
//	@Column(name = "remarks", columnDefinition = "varchar(32) comment '备注'")
	@TableField(value="remarks")
	private String remarks;
	
	@TableField(exist =false)
	private AppBOccupational abo;
	
	@TableField(exist =false)
	private AppCIncomeAndLiability acial;
	
	@TableField(exist =false)
	private ArrayList<AppDContactInformation> adci;
	
	@TableField(exist =false)
	private AppEBorrowerInformation aebi;
	
	@TableField(exist =false)
	private AppFHouseProperty afhp;
	
	@TableField(exist =false)
	private AppGWorkInformation agwi;
	
	@TableField(exist =false)
	private AppHPolicyInformation ahpi;
	
	@TableField(exist =false)
	private List<AppIImpPath> aip;
	
	@TableField(exist =false)
	private List<AppIImpPath> filea;
	
	@TableField(exist =false)
	private List<AppIImpPath> fileb;
	@TableField(exist =false)
	private List<AppIImpPath> filec;
	
	@TableField(exist =false)
	private List<AppIImpPath> filed;
	
	@TableField(exist =false)
	private List<AppIImpPath> filee;
	
	@TableField(exist =false)
	private List<AppIImpPath> filef;
	@TableField(exist =false)
	private List<AppIImpPath> fileg;
	@TableField(exist =false)
	private List<AppIImpPath> fileh;
	@TableField(exist =false)
	private List<AppIImpPath> filei;
	
	public String getProductType() {
		return productType;
	}

	public void setProductType(String productType) {
		this.productType = productType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getWhetherOrNot() {
		return whetherOrNot;
	}

	public void setWhetherOrNot(String whetherOrNot) {
		this.whetherOrNot = whetherOrNot;
	}

	public Date getAppTime() {
		return appTime;
	}

	public void setAppTime(Date appTime) {
		this.appTime = appTime;
	}

	public String getAppNumber() {
		return appNumber;
	}

	public void setAppNumber(String appNumber) {
		this.appNumber = appNumber;
	}



	public String getAppAmount() {
		return appAmount;
	}

	public void setAppAmount(String appAmount) {
		this.appAmount = appAmount;
	}

	public String getLoanTerm() {
		return loanTerm;
	}

	public void setLoanTerm(String loanTerm) {
		this.loanTerm = loanTerm;
	}

	public String getPhoneTransfer() {
		return phoneTransfer;
	}

	public void setPhoneTransfer(String phoneTransfer) {
		this.phoneTransfer = phoneTransfer;
	}

	public String getThanSixMonths() {
		return thanSixMonths;
	}

	public void setThanSixMonths(String thanSixMonths) {
		this.thanSixMonths = thanSixMonths;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPlaceRegistration() {
		return placeRegistration;
	}

	public void setPlaceRegistration(String placeRegistration) {
		this.placeRegistration = placeRegistration;
	}

	public String getMaritalStatus() {
		return maritalStatus;
	}

	public void setMaritalStatus(String maritalStatus) {
		this.maritalStatus = maritalStatus;
	}

	public String getHighestEducation() {
		return highestEducation;
	}

	public void setHighestEducation(String highestEducation) {
		this.highestEducation = highestEducation;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getQqNumber() {
		return qqNumber;
	}

	public void setQqNumber(String qqNumber) {
		this.qqNumber = qqNumber;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getPropertySituation() {
		return propertySituation;
	}

	public void setPropertySituation(String propertySituation) {
		this.propertySituation = propertySituation;
	}

	public String getVehicleConditions() {
		return vehicleConditions;
	}

	public void setVehicleConditions(String vehicleConditions) {
		this.vehicleConditions = vehicleConditions;
	}

	public String getLiveTogether() {
		return liveTogether;
	}

	public void setLiveTogether(String liveTogether) {
		this.liveTogether = liveTogether;
	}

	public String getPresentAddress() {
		return presentAddress;
	}

	public void setPresentAddress(String presentAddress) {
		this.presentAddress = presentAddress;
	}

	public String getInhabitationTime() {
		return inhabitationTime;
	}

	public void setInhabitationTime(String inhabitationTime) {
		this.inhabitationTime = inhabitationTime;
	}

	public String getYearsInCity() {
		return yearsInCity;
	}

	public void setYearsInCity(String yearsInCity) {
		this.yearsInCity = yearsInCity;
	}

	public String getAppAccount() {
		return appAccount;
	}

	public void setAppAccount(String appAccount) {
		this.appAccount = appAccount;
	}

	public String getBorrowerSignature() {
		return borrowerSignature;
	}

	public void setBorrowerSignature(String borrowerSignature) {
		this.borrowerSignature = borrowerSignature;
	}

	
	
	public String getProgressiveState() {
		return progressiveState;
	}

	public void setProgressiveState(String progressiveState) {
		this.progressiveState = progressiveState;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public AppBOccupational getAbo() {
		return abo;
	}

	public void setAbo(AppBOccupational abo) {
		this.abo = abo;
	}

	public AppCIncomeAndLiability getAcial() {
		return acial;
	}

	public void setAcial(AppCIncomeAndLiability acial) {
		this.acial = acial;
	}

	

	public ArrayList<AppDContactInformation> getAdci() {
		return adci;
	}

	public void setAdci(ArrayList<AppDContactInformation> adci) {
		this.adci = adci;
	}

	public AppEBorrowerInformation getAebi() {
		return aebi;
	}

	public void setAebi(AppEBorrowerInformation aebi) {
		this.aebi = aebi;
	}

	public AppFHouseProperty getAfhp() {
		return afhp;
	}

	public void setAfhp(AppFHouseProperty afhp) {
		this.afhp = afhp;
	}

	public AppGWorkInformation getAgwi() {
		return agwi;
	}

	public void setAgwi(AppGWorkInformation agwi) {
		this.agwi = agwi;
	}

	public AppHPolicyInformation getAhpi() {
		return ahpi;
	}

	public void setAhpi(AppHPolicyInformation ahpi) {
		this.ahpi = ahpi;
	}

	public List<AppIImpPath> getAip() {
		return aip;
	}

	public void setAip(List<AppIImpPath> aip) {
		this.aip = aip;
	}

	public List<AppIImpPath> getFilea() {
		return filea;
	}

	public void setFilea(List<AppIImpPath> filea) {
		this.filea = filea;
	}

	public List<AppIImpPath> getFileb() {
		return fileb;
	}

	public void setFileb(List<AppIImpPath> fileb) {
		this.fileb = fileb;
	}

	public List<AppIImpPath> getFilec() {
		return filec;
	}

	public void setFilec(List<AppIImpPath> filec) {
		this.filec = filec;
	}

	public List<AppIImpPath> getFiled() {
		return filed;
	}

	public void setFiled(List<AppIImpPath> filed) {
		this.filed = filed;
	}

	public List<AppIImpPath> getFilee() {
		return filee;
	}

	public void setFilee(List<AppIImpPath> filee) {
		this.filee = filee;
	}

	public List<AppIImpPath> getFilef() {
		return filef;
	}

	public void setFilef(List<AppIImpPath> filef) {
		this.filef = filef;
	}

	public List<AppIImpPath> getFileg() {
		return fileg;
	}

	public void setFileg(List<AppIImpPath> fileg) {
		this.fileg = fileg;
	}

	public List<AppIImpPath> getFileh() {
		return fileh;
	}

	public void setFileh(List<AppIImpPath> fileh) {
		this.fileh = fileh;
	}

	public List<AppIImpPath> getFilei() {
		return filei;
	}

	public void setFilei(List<AppIImpPath> filei) {
		this.filei = filei;
	}

	@Override
	public String toString() {
		return "AppABasicInformation [productType=" + productType + ", name="
				+ name + ", whetherOrNot=" + whetherOrNot + ", appTime="
				+ appTime + ", appNumber=" + appNumber + ", appAmount="
				+ appAmount + ", loanTerm=" + loanTerm + ", phoneTransfer="
				+ phoneTransfer + ", thanSixMonths=" + thanSixMonths
				+ ", realName=" + realName + ", sex=" + sex
				+ ", placeRegistration=" + placeRegistration
				+ ", maritalStatus=" + maritalStatus + ", highestEducation="
				+ highestEducation + ", telephone=" + telephone + ", qqNumber="
				+ qqNumber + ", wechat=" + wechat + ", propertySituation="
				+ propertySituation + ", vehicleConditions="
				+ vehicleConditions + ", liveTogether=" + liveTogether
				+ ", presentAddress=" + presentAddress + ", inhabitationTime="
				+ inhabitationTime + ", yearsInCity=" + yearsInCity
				+ ", appAccount=" + appAccount + ", borrowerSignature="
				+ borrowerSignature + ", progressiveState=" + progressiveState
				+ ", remarks=" + remarks + ", abo=" + abo + ", acial=" + acial
				+ ", adci=" + adci + ", aebi=" + aebi + ", afhp=" + afhp
				+ ", agwi=" + agwi + ", ahpi=" + ahpi + ", aip=" + aip
				+ ", filea=" + filea + ", fileb=" + fileb + ", filec=" + filec
				+ ", filed=" + filed + ", filee=" + filee + ", filef=" + filef
				+ ", fileg=" + fileg + ", fileh=" + fileh + ", filei=" + filei
				+ "]";
	}
	
	
}
